package com.duobaoyu.dby.supply.biz.client.resource.bean.dto;

import com.duobaoyu.dby.resource.remote.common.json.RiskStrategyContent;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * @author liyang
 * @version 1.0.0
 * @ClassName RiskStrategyConfigDTO
 * @createTime 15:06:00 2023/10/08
 */
@Data
public class RiskStrategyConfigDTO implements Serializable {
    private static final long serialVersionUID = 542296968732539837L;

    /**
     * 主键
     */
    @ApiModelProperty(value = "主键")
    @NotNull(message = "id不能为空")
    private Long id;

    /**
     * 策略内容
     */
    @ApiModelProperty(value = "策略内容")
    private List<RiskStrategyContent> content;
}
